<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
  <head>
    <title>测试</title>
    <script src='javascripts/test.js' ></script>
    <script src='jquery/dist/jquery.min.js' ></script>


  </head>
  <body>
    <h1><%= title %></h1>
    <p>Welcome to <%= title %></p>

  <input placeholder="please input a string"/>

  <button>提交</button>
  <script type="text/javascript">

    var data=$('input').val();
    console.log(data);
    $('button').click(function () {
    alert('kkkk');

    })







  </script>




  </body>
</html>
